package com.lin.subject.infra.basic.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.lin.subject.commom.entity.PageInfo;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SubjectInfoEs extends PageInfo implements Serializable {

    @JsonProperty("subject_id")
    private Long subjectId;

    @JsonProperty("doc_id")
    private Long docId;

    @JsonProperty("subject_name")
    private String subjectName;

    @JsonProperty("subject_answer")
    private String subjectAnswer;

    @JsonProperty("create_user")
    private String createUser;

    @JsonProperty("create_time")
    private Long createTime;

    @JsonProperty("subject_type")
    private Integer subjectType;

    @JsonProperty("key_word")
    private String keyWord;

    private BigDecimal score;
}
